package testcase;

import java.util.*;
import java.lang.*;
import java.math.*;
import java.io.IOException;
import common.*;

public class JsonTest
{
    private String			attr0	 = "";
    private HashMap<String, String>	attr1	 = null;
    private Vector<String>		attr3	 = null;
    private String[] attr4			 = null;
    private String			bgtpName = "Jini0";

    public JsonTest()
    {
	attr0 = "someshit";
	attr1 = new HashMap<String, String>();
	attr3 = new Vector<String>();
	attr4 = new String[5];
	
	attr4[0] = "statstr";
	attr3.add("some0");
	attr3.add("some0");
	attr1.put("inmap1", "value0");
    }

    public static void main(String[] args) throws IOException
    {
	JsonPersistence jp = new JsonPersistence();
	jp.dump("test.test", new JsonTest());
	jp.undump("test.test");
	jp.dump("test.test2", jp.summon("Jini0"));
    }
}